package figuren;

import java.util.ArrayList;

public class Party extends Figur {
	ArrayList<Figur> members = new ArrayList<Figur>();
	
	public void addMember(Figur member) {
		this.members.add(member);
	}
	
	public void removeMember(Figur member) {
		this.members.remove(member);
	}
	
	public void fight() {
		for (Figur figur : members) {
			figur.fight();
		}
		
	}
}
